/*首页*/
html,body{
    padding-bottom: 20px;
}
.goods-cats {
    margin-top:-30px;
    margin-right:50px;
    cursor:pointer;
}
.goods-cats a {
    text-decoration:none;
}
.operate {
    margin-right: 10px;
}
.operate:hover {
    cursor:pointer;
    color:green;
}
.goods-name {
    width:500px;
}
.goods-table .goods-name a.goods-url {
    width:500px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow:ellipsis;
    display:inline-block;
    cursor:pointer;
    text-decoration:none;
}   
.goods-table td.status {
    cursor:pointer;
}
.btn.save, .btn.cancel {
    margin-right: 50px;
    width:70px;
}
.btn-muted {
    background: #eee none repeat scroll 0 0;
}
.loading {
    display:none;
}
.goods-table td {
    vertical-align:middle !important;
}
.goods-table img {
    width:30px;height:30px; margin-right:10px;
}
.glyphicon-search {
    cursor:pointer;
}

/* 编辑，添加 图片*/
.goods-pic-wrap {
    display:inline-block;
}
.goods-pic-wrap .goods-pic, .goods-pic-add {
    position:relative;margin:0 20px 0 0;width:100px;height:100px;
    border:none;display:inline-block; vertical-align: middle;text-align: center;color:gray;cursor:pointer;
}
.goods-pic-add {
    border:1px dashed gray;
}
.goods-pic-add:hover {
    border:1px dashed #2b542c;
}
.goods-pic-add:hover i {
    color: #2b542c;
}
.goods-pic-wrap .goods-pic:nth-child(1) .glyphicon-arrow-left, .goods-pic-wrap .goods-pic:last-child .glyphicon-arrow-right, .goods-pic-template {
    display:none;
}
.goods-pic img {
    width:100px; height:100px;
}
.goods-pic-wrap .goods-pic-operate {
    position:absolute;bottom: 0; width:100%; text-align: center;background:gainsboro; display:none;
}
.goods-address div.col-xs-2  {
    padding-right: 0;
}
.glyphicon-arrow-left, .glyphicon-arrow-trash, .glyphicon-arrow-right {
    margin-left:10px;
    margin-right: 10px;
}

.form-goods-attrs label {
    margin-bottom:0;
}
.form-goods-attrs .attr-name {
    font-weight:500;
    margin-bottom:0;
} 

/*商品的规格*/

.minicolors-swatch {
    width:20px !important;
}
.minicolors-swatch-color{
    width:20px;
    height:20px;
}
/*商品属性表格*/
.table-goods-attr {
    margin-bottom: 0;
}
.table-goods-attr .input-value, .table-goods-attr .select-value {
    width:200px;
    height:22px;
    line-height:22px;
    border-radius: 2px;
    border:1px solid #ddd;
}
.table-goods-attr .select-value {
    height:23px;
    line-height:20px;
}
.table-goods-attr .template, .spec-group.spec-template {
    display:none;
}
.table-goods-attr  .glyphicon {
    font-size:14px;
    color:grey;
}
.table-goods-attr .glyphicon-plus:hover {
    color: green;
    cursor:pointer;
}
.table-goods-attr input.attr-name, .table-goods-attr .attr-value:not(.bootstrap-select) {
    border:0;
    border-bottom:1px solid #ccc;
}
.table-goods-attr thead td {
    border-bottom: 1px solid #ccc;
}
.table-goods-attr .goods-value td {
    border:0;
    vertical-align:middle;
}
.table-goods-attr .op i {
    margin:0;
}

/*规格值图片*/
 .value-pic {
    margin-left:5px;
    margin-right:0;
    width:30px;
}
/*规格商品图片*/
.form-spec-pic label, .form-spec-value label {
    font-weight:normal;
}
.form-spec-template, .form-spec-value,.value-template, .form-goods-specs.hide, .form-unite-pic.hide {
    display:none;
}
.form-spec-value.show{
    display:block
}
.value-id-pic {
    margin-right:20px;
}
.form-goods-specs td span {
    margin-right:5px;
}
.form-group button:hover i{
    color:#2b542c;
}

table tbody .glyphicon {
    vertical-align:middle;
    font-size:16px;
}
/*通知*/
.alert {
    position:fixed;
    bottom:200px; 
    margin-left:40%;
    display:none;
    font-size: 16px;
}
.alert i {
    float:left;
    top:3px;
}
.alert span{
    margin-left:5px;
    display:inline-block;
}
/*错误提示*/
.help-block {
    display:none;
}
.money {
    position:absolute;
    left: 20px; 
    top:7px; 
    font-size:14px;
    color:gray;
}
.money ~ input {
    padding-left:15px;
}
/*规格*/
.minicolors-theme-default.minicolors {
    margin-left:0px;
    pointer-events:none;
}
.form-goods-specs .dl-horizontal dt {
    margin-top:7px;
    width:70px;
    font-weight: normal;
}
.form-goods-specs .dl-horizontal dd {
    margin-left:70px;
}

.form-goods-specs .goods-attr-name {
    margin:0 15px 0 20px;
    font-weight: normal;
}
.form-goods-specs .goods-attr-value {
    margin-bottom: 20px;
}
.form-goods-specs .goods-attr-value:last-child {
    margin-bottom:0;
}
.form-goods-specs label.checkbox-inline {
    margin: 0 10px 0 0;
    width:150px;
}
.form-goods-specs .new-name {
    position:absolute;
    width:100px;
    border:0;
    border-bottom: 1px solid #ccc;
}
.color-wrap .new-name {
    margin-left:24px;
}
.form-goods-specs i {
    position:absolute;
    margin:12px -5px 0 0;
    right:0;
    font-size:12px;
    color:grey;
}
.form-goods-specs i:hover {
    color:green;
}
.size-wrap .checkbox-relative {
    position:relative!important;
}
.size-wrap .new-name {
    margin-left:7px;
}
.form-spec-pic, .template {
    display:none;
}
.form-spec-pic table {
    margin-bottom: 0;
}
.color-block {
    position:absolute;
    display:inline-block;
    width:20px;
    height:20px;
    cursor:pointer;
}
.color-name {
    margin-left:24px;
    display:inline-block;
    width:150px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    cursor:pointer;
}
img.color-goods {
    width:30px !important;
    height:30px !important;
    margin-top:-3px;
}
.fa-upload:hover {
    color:green;
    cursor:pointer;
}
.form-spec-pic img {
    position:absolute;
    vertical-align:top;
    width:20px;
    height:20px;
}
.form-spec-pic td {
    vertical-align: middle;
}
/*规格表*/
.spec-table {
    padding-left:0;
    display:none;
}
.spec-table input {
    padding:0;
    border:0;
    border-bottom: 1px solid #ccc;
    width:70px;
}
.spec-table .glyphicon {
    font-size:14px;
}
.spec-table td.color {
    vertical-align: middle;
}
.spec-table tbody .color, .spec-table tbody .size {
    border-right:1px solid #ccc;
}
.spec-table tbody  td {
    border-bottom: 1px solid #ccc;
}